package com.tsp_tux.demo.Entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * Created by 张帅
 * 返回的实体
 * aid 文章编号
 * Summary 摘要
 * editTime 最新的编辑时间
 * title 文章标题
 *upnumber 点赞数
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Article_List_1 {
    private Integer aid;
    private String title;
    private String summary;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp editTime;
    private  int upnumber;
    private float mark;
    private int atype;
}

